<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="{{asset('static/bootstrap/css/bootstrap.min.css')}}">
    <script src="{{asset('static/jquery/jquery.min.js')}}"></script>
    <script src="{{asset('static/bootstrap/js/bootstrap.min.js')}}"></script>
    <title>单个游戏信息</title>
    <script>
        $('body').scrollspy({ target: '.navbar-example' });
    </script>
    <style>
        .container-fluid{
            padding-right: 0px;
            padding-left: 0px;
        }
        .row{
            margin:0;
        }
    </style>
</head>
<body>
<div class="container-fulid text-center" style="margin-top: 80px;">
	<h1>{{$gameshops->name}}</h1>
	<hr style="width: 100%;">
	<div class="row">
		<div class="col-md-6 col-sm-6 ">
			<?php 
			    $file = $gameshops->file;
			    $gameurl = "http://www.GameShop.com/static/img/";
			    $gameurl .= $file;
			?>
			<img src='{{$gameurl}}' style='width: 250px;height: 250px;margin:30px;margin-left:150px;'><br><br>
		</div>
		<div class="col-md-6 col-sm-6 text-left" style="margin-top: 30px;">
			<p>游戏价格：<span>{{$gameshops->jiage}}</span>元</p>
			<p>游戏评分：<span>{{$gameshops->one}}</span></p>
			<p>游戏大小：<span>{{$gameshops->mm}}</span>GB</p>
			<p>游戏平台：<span>{{$gameshops->qz}}</span></p>
			<p>游戏描述：<span>{{$gameshops->ms}}</span></p>
			<p>发行日期：<span>{{$gameshops->sj}}</span></p>
			<p>游戏类型：<span>{{$gameshops->my}}</span></p>
			<p>支持语言：<span>{{$gameshops->mye}}</span></p>
		</div>
	</div>
	<div class="text-center">
		<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
		  <div class="modal-dialog" role="document">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title" id="exampleModalLabel" style="text-align: center;">删除游戏</h4>
		      </div>
		      <div class="modal-body">
		        <form>
		          <div class="form-group">
		            <p>确定删除这个游戏嘛？</p>
		            <p>此操作不可恢复，请再次确认后点击删除按钮</p>
		          </div>
		        </form>
		      </div>
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
		        <a href="{{url('other/delete',['name'=>$gameshops->name])}}" ><button type='button' class='btn btn-info' style='width: 100px;'>删除</button></a>
		      </div>
		    </div>
		  </div>
		</div>
		<a href="{{url('other/updelete')}}" class="btn btn-info" aria-hidden="true" style="margin:30px;">修改信息</a>
		<button type="button" class="btn btn-danger" aria-hidden='true'data-toggle="modal" data-target="#exampleModal" data-whatever="@mdo" style="margin:30px;">删除游戏</button>
	</div>
</div>

</body>
</html>